package com.mayisoftware.mayioa.business.human.impl.dao;

import com.mayisoftware.mayioa.business.human.api.domain.HCUploadInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 员工表 数据层
 * 
 *
 */
@Mapper
public interface HCUploadMapper
{
    /////////////////////////////更新上传记录表/////////////////////
    /**
     *
     * 查询过滤记录信息
     * */
    List<HCUploadInfo> selectRecordList(HCUploadInfo uploadInfo);

    /**
     * 根据ID查询记录信息
     */
    List<HCUploadInfo> selectRecordListById(@Param("importId") String recordId);

    /**
     * 查询需要解析的记录
     */
    List<HCUploadInfo> selectRecordListNeedParse();

    /**
     *
     * 更新上传记录
     * */
    int updateInputRecord(HCUploadInfo record);

    /**
     * 插入上传记录
     * */
    int insertImportOneRecord(HCUploadInfo uploadInfo);
}
